odd dxfer_len == crash

2008-12-08 Thread Giuliano Pochini
ioctl(SG_IO) with odd dxfer_len hangs the machine. I have a dual G4 MDD and and ide dvd-rw and I can't locate che bug. I'm posting here because the program below doesn't crash on a PC. Any clue? TIA. Linux Jay 2.6.27 #2 SMP Wed Oct 15 00:33:06 CEST 2008 ppc 7455, altivec supported PowerMac3,6 GNU

odd dxfer_len == crash

2008-12-08 Thread Giuliano Pochini
ioctl(SG_IO) with odd dxfer_len hangs the machine. I have a dual G4 MDD and and ide dvd-rw and I can't locate che bug. I'm posting here because the program below doesn't crash on a PC. Any clue? TIA. Linux Jay 2.6.27 #2 SMP Wed Oct 15 00:33:06 CEST 2008 ppc 7455, altivec supported PowerMac3,6 GNU