I got this oops with the attached config. it dies in init_dev() because driver->ttys contains NULL. sys_open -> filp_open -> dentry_open -> chrdev_open -> tty_open -> init_dev maybe pmac_zilog doesnt play well together with the 8250, or it doesnt initalize everything correctly. ... VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory:<7>IN from bad port 3f9 at c01605d0 184k init<7>IN from bad port 3f9 at c01605d0 4k chrp<7>IN from bad port 3f9 at c01605d0 36k prep<7>IN from bad port 3f9 at c01605d0 init_dev: d c470dc00 i 0 Serial port locked ON by debugger ! vector: 301 at pc = c0148254, lr = c0148250 msr = 9030, sp = c47b1dc0 [c47b1d10] dar = 0, dsisr = 40000000 current = c47af740, pid = 1, comm = swapper mon> d c470dc00 c470dc00 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc10 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc20 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc30 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc40 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc50 c4 70 dc 54.69 6f 73 63.68 65 64 00.00 00 00 00 |.p.Tiosched.....| c470dc60 00 00 00 00.00 00 00 00.00 00 00 02.c4 70 dc 6c |.............p.l| c470dc70 c4 70 dc 6c.c4 70 dd 50.00 00 00 00.00 00 00 00 |.p.l.p.P........| c470dc80 c4 70 aa 20.00 00 00 00.00 00 00 00.00 00 00 00 |.p. ............| c470dc90 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dca0 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dcb0 00 00 00 00.00 00 00 00.c0 17 e3 bc.00 00 00 00 |................| mon> file: 192.168.1.2,vmlinux.coff tsize=5B64 dsize=275108 bsize=215D8 entry=500000 SECTIONS: .text 00500000 00500000 00005B64 000000FC .data 00506000 00506000 00275108 00005C60 .bss 0077C000 0077C000 000215D8 00000000 __kcrcta 00000230 00000230 00000040 0027AD68 loading .text, done.. loading .data, done.. clearing .bss, done.. coffboot starting: loaded at 0x00500000 heap at 0x0077c548 gunzipping (0x00900000 <- 0x00506d00:0x006a3834)...done 3864520 bytes 48240 bytes of heap consumed, max in use 41096 start address = 0x900000 opening display /bandit@F2000000/IMS,tt128mb8@F... ok opening display /platinum@F8000000... failed copying OF device tree...done Calling quiesce ... returning 0x00900000 from prom_init Total memory = 72MB; using 256kB for hash table (at c0440000) Linux version 2.6.0-test9 (builds@ibook) (gcc version 3.2.3 (SuSE Linux)) #4 Tue Nov 11 21:47:35 CET 2003 Found a Grand Central mac-io controller, rev: 2, mapped at 0xfdf00000 PowerMac motherboard: Unknown PowerSurge Cache coherency enabled for bandit/PSX Found Bandit PCI host bridge at 0xf2000000. Firmware bus number: 0->1 On node 0 totalpages: 18432 DMA zone: 18432 pages, LIFO batch:4 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Building zonelist for node : 0 Kernel command line: console=ttyS0,38400 root=0808 System has 32 possible interrupts PID hash table entries: 512 (order 9: 4096 bytes) GMT Delta read from XPRAM: 120 minutes, DST: on Console: colour dummy device 80x25 Memory: 68272k available (2544k kernel code, 1548k data, 184k init, 0k highmem) Calibrating delay loop... <7>IN from bad port 3f9 at c01605d0 89.49 BogoMIPS Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) POSIX conformance testing by UNIFIX NET: Registered protocol family 16 PCI: Probing PCI hardware Linux Plug and Play Support v0.97 (c) Adam Belay SCSI subsystem initialized drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub imsttfb_probe: OF name IMS,tt128mb8 fb0: IMS TT (TVP) frame buffer; 8MB vram; chip version 2 Thermal assist unit not available Total VRAM = 2MB 0011 Monitor sense value = 0x623, <7>IN from bad port 3f9 at c01605d0 using video mode 18 and color mode 1. fb1: platinum frame buffer device ikconfig 0.7 with /proc/config* VFS: Disk quotas dquot_6.5.1 Initializing Cryptographic API isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Console: switching <7>IN from bad port 3f9 at c01605d0 to colour frame buffer device 144x54 pty: 256 Unix98 ptys configured Generic RTC Driver v1.07 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled Using anticipatory io scheduler Floppy drive(s): fd0 is 2.88M<7>IN from bad port 3f9 at c01605d0 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 123456K size 1024 blocksize loop: loaded (max 8 devices) MacIO PCI driver attached to Grand Central chipset Macintosh non-volatile memory driver v1.0 input: Macintosh mouse button emulation Macintosh CUDA driver v0.5 for Unified ADB. apm_emu: Requires a machine with a PMU. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx mesh: configured for synchronous 5 MB/s adb: starting probe task... ADB keyboard at 2, handler set to 3 Detected ADB keyboard, type <7>IN from bad port 3f9 at c01605d0 ISO, swapping keys. input: ADB keyboard on adb2:2.05/input ADB mouse at 3, handler set to 2<7>IN from bad port 3f9 at c01605d0 input: ADB mouse on adb3:3.01/input adb: finished probe task... scsi0 : 53C94 Vendor: <7>IN from bad port 3f9 at c01605d0 I<7>IN from bad port 3f9 at c01605d0 B<7>IN from bad port 3f9 at c01605d0 M<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 Model: <7>IN from bad port 3f9 at c01605d0 D<7>IN from bad port 3f9 at c01605d0 D<7>IN from bad port 3f9 at c01605d0 R<7>IN from bad port 3f9 at c01605d0 S<7>IN from bad port 3f9 at c01605d0 -<7>IN from bad port 3f9 at c01605d0 3<7>IN from bad port 3f9 at c01605d0 4<7>IN from bad port 3f9 at c01605d0 5<7>IN from bad port 3f9 at c01605d0 6<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 D<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 Rev: <7>IN from bad port 3f9 at c01605d0 D<7>IN from bad port 3f9 at c01605d0 C<7>IN from bad port 3f9 at c01605d0 1<7>IN from bad port 3f9 at c01605d0 B<7>IN from bad port 3f9 at c01605d0 Type: Direct-Access <7>IN from bad port 3f9 at c01605d0 ANSI SCSI revision: 02<7>IN from bad port 3f9 at c01605d0 Vendor: <7>IN from bad port 3f9 at c01605d0 M<7>IN from bad port 3f9 at c01605d0 A<7>IN from bad port 3f9 at c01605d0 T<7>IN from bad port 3f9 at c01605d0 S<7>IN from bad port 3f9 at c01605d0 H<7>IN from bad port 3f9 at c01605d0 I<7>IN from bad port 3f9 at c01605d0 T<7>IN from bad port 3f9 at c01605d0 A<7>IN from bad port 3f9 at c01605d0 Model: <7>IN from bad port 3f9 at c01605d0 C<7>IN from bad port 3f9 at c01605d0 D<7>IN from bad port 3f9 at c01605d0 -<7>IN from bad port 3f9 at c01605d0 R<7>IN from bad port 3f9 at c01605d0 O<7>IN from bad port 3f9 at c01605d0 M<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 C<7>IN from bad port 3f9 at c01605d0 R<7>IN from bad port 3f9 at c01605d0 -<7>IN from bad port 3f9 at c01605d0 8<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 5<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 Rev: <7>IN from bad port 3f9 at c01605d0 2<7>IN from bad port 3f9 at c01605d0 .<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 h<7>IN from bad port 3f9 at c01605d0 Type: CD-ROM <7>IN from bad port 3f9 at c01605d0 ANSI SCSI revision: 02<7>IN from bad port 3f9 at c01605d0 Vendor: <7>IN from bad port 3f9 at c01605d0 I<7>IN from bad port 3f9 at c01605d0 O<7>IN from bad port 3f9 at c01605d0 M<7>IN from bad port 3f9 at c01605d0 E<7>IN from bad port 3f9 at c01605d0 G<7>IN from bad port 3f9 at c01605d0 A<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 Model: <7>IN from bad port 3f9 at c01605d0 Z<7>IN from bad port 3f9 at c01605d0 I<7>IN from bad port 3f9 at c01605d0 P<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 1<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 0<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 P<7>IN from bad port 3f9 at c01605d0 L<7>IN from bad port 3f9 at c01605d0 U<7>IN from bad port 3f9 at c01605d0 S<7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 <7>IN from bad port 3f9 at c01605d0 Rev: <7>IN from bad port 3f9 at c01605d0 J<7>IN from bad port 3f9 at c01605d0 .<7>IN from bad port 3f9 at c01605d0 6<7>IN from bad port 3f9 at c01605d0 6<7>IN from bad port 3f9 at c01605d0 Type: Direct-Access <7>IN from bad port 3f9 at c01605d0 ANSI SCSI revision: 02<7>IN from bad port 3f9 at c01605d0 SCSI device sda: 8925000 512-byte hdwr sectors (4570 MB) SCSI device sda: drive cache: write back sda:<7>IN from bad port 3f9 at c01605d0 [mac]<7>IN from bad port 3f9 at c01605d0 sda1<7>IN from bad port 3f9 at c01605d0 sda2<7>IN from bad port 3f9 at c01605d0 sda3<7>IN from bad port 3f9 at c01605d0 sda4<7>IN from bad port 3f9 at c01605d0 sda5<7>IN from bad port 3f9 at c01605d0 sda6<7>IN from bad port 3f9 at c01605d0 sda7<7>IN from bad port 3f9 at c01605d0 sda8<7>IN from bad port 3f9 at c01605d0 sda9<7>IN from bad port 3f9 at c01605d0 Attached scsi disk sda at scsi0, channel 0, id 1, lun 0 SCSI device sdb: 196608 512-byte hdwr sectors (101 MB) sdb: Write Protect is off SCSI device sdb: drive cache: write back sdb:<7>IN from bad port 3f9 at c01605d0 sdb1<7>IN from bad port 3f9 at c01605d0 Attached scsi removable disk sdb at scsi0, channel 0, id 5, lun 0 sr0: scsi-1 drive Uniform CD-ROM driver Revision: 3.12 Console: switching <7>IN from bad port 3f9 at c01605d0 to colour frame buffer device 144x54 PCI: Enabling device 0000:01:09.0 (0004 -> 0006) ohci_hcd 0000:01:09.0: OHCI Host Controller ohci_hcd 0000:01:09.0: irq 24, pci mem c5c28000 ohci_hcd 0000:01:09.0: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected mice: PS/2 mouse device common for all mice input: PC Speaker i8042.c: i8042 controller self test timeout. md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET: Registered protocol family 1 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory:<7>IN from bad port 3f9 at c01605d0 184k init<7>IN from bad port 3f9 at c01605d0 4k chrp<7>IN from bad port 3f9 at c01605d0 36k prep<7>IN from bad port 3f9 at c01605d0 init_dev: d c470dc00 i 0 Serial port locked ON by debugger ! vector: 301 at pc = c0148254, lr = c0148250 msr = 9030, sp = c47b1dc0 [c47b1d10] dar = 0, dsisr = 40000000 current = c47af740, pid = 1, comm = swapper mon> d c470dc00 c470dc00 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc10 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc20 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc30 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| mon> c470dc40 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dc50 c4 70 dc 54.69 6f 73 63.68 65 64 00.00 00 00 00 |.p.Tiosched.....| c470dc60 00 00 00 00.00 00 00 00.00 00 00 02.c4 70 dc 6c |.............p.l| c470dc70 c4 70 dc 6c.c4 70 dd 50.00 00 00 00.00 00 00 00 |.p.l.p.P........| mon> c470dc80 c4 70 aa 20.00 00 00 00.00 00 00 00.00 00 00 00 |.p. ............| c470dc90 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dca0 00 00 00 00.00 00 00 00.00 00 00 00.00 00 00 00 |................| c470dcb0 00 00 00 00.00 00 00 00.c0 17 e3 bc.00 00 00 00 |................| mon> -- USB is for mice, FireWire is for men! sUse lINUX ag, nÜRNBERG